home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / msysjour / vol07 / 02 / c7 / makefile next >
Makefile  |  1992-02-29  |  683b  |  29 lines

  1. # Makefile : Builds the mfchello application
  2.  
  3. CPPFLAGS= /AS /W3 /GA /GEs /G2
  4. LINKFLAGS=/NOD
  5.  
  6. !if "$(DEBUG)"=="1"
  7. CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
  8. LINKFLAGS=$(LINKFLAGS) /COD
  9. LIBS=safxcwd libw slibcew
  10. !else
  11. CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
  12. LINKFLAGS=$(LINKFLAGS) /FAR /PACKC
  13. LIBS=safxcw libw slibcew
  14. !endif
  15.  
  16. mfchello.exe:     mfchello.obj mfchello.def mfchello.res
  17.         link $(LINKFLAGS) mfchello, mfchello, NUL, $(LIBS),mfchello.def;
  18.         rc /t mfchello.res
  19.  
  20.  
  21. mfchello.res:    mfchello.h mfchello.ico mfchello.dlg
  22.  
  23. mfchello.obj:    mfchello.h mfchello.cpp
  24.  
  25. clean:
  26.         -erase mfchello.exe
  27.         -erase mfchello.res
  28.         -erase mfchello.obj
  29.